package cn.rkylin.oms.warehouseDocking.domain;

import java.util.Date;

/**
 * QmInventoryQuery实体类, 对应qm_inventory_query表
 * 
 * @author jipengcheng
 * @created 2017年10月31日
 */
public class QmInventoryQuery {
    /**
     * 
     */
    private String qmInventoryQueryId;


    private String qmCustomerId;
    
    /**
     * 仓库编码
     */
    private String warehouseCode;

    /**
     * 商品编码
     */
    private String itemCode;

    /**
     * 仓储系统商品ID
     */
    private String itemId;

    /**
     * 库存类型(ZP=正品;CC=残次;JS=机损;XS= 箱损;ZT=在途库存)
     */
    private String inventoryType;

    /**
     * 未冻结库存数量
     */
    private Integer quantity;

    /**
     * 冻结库存数量
     */
    private Integer lockQuantity;

    /**
     * 批次编码
     */
    private String batchCode;

    /**
     * 商品生产日期(YYYY-MM-DD)
     */
    private Date productDate;

    /**
     * 商品过期日期(YYYY-MM-DD)
     */
    private Date expireDate;

    /**
     * 生产批号
     */
    private String produceCode;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    public String getQmInventoryQueryId() {
        return qmInventoryQueryId;
    }

    public void setQmInventoryQueryId(String qmInventoryQueryId) {
        this.qmInventoryQueryId = qmInventoryQueryId == null ? null : qmInventoryQueryId.trim();
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode == null ? null : warehouseCode.trim();
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode == null ? null : itemCode.trim();
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId == null ? null : itemId.trim();
    }

    public String getInventoryType() {
        return inventoryType;
    }

    public void setInventoryType(String inventoryType) {
        this.inventoryType = inventoryType == null ? null : inventoryType.trim();
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getLockQuantity() {
        return lockQuantity;
    }

    public void setLockQuantity(Integer lockQuantity) {
        this.lockQuantity = lockQuantity;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode == null ? null : batchCode.trim();
    }

    public Date getProductDate() {
        return productDate;
    }

    public void setProductDate(Date productDate) {
        this.productDate = productDate;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public String getProduceCode() {
        return produceCode;
    }

    public void setProduceCode(String produceCode) {
        this.produceCode = produceCode == null ? null : produceCode.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "QmInventoryQuery [qmInventoryQueryId=" + qmInventoryQueryId + ", warehouseCode=" + warehouseCode + ", itemCode=" + itemCode
                + ", itemId=" + itemId + ", inventoryType=" + inventoryType + ", quantity=" + quantity + ", lockQuantity=" + lockQuantity
                + ", batchCode=" + batchCode + ", productDate=" + productDate + ", expireDate=" + expireDate + ", produceCode=" + produceCode
                + ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
    }

    public String getQmCustomerId() {
        return qmCustomerId;
    }

    public void setQmCustomerId(String qmCustomerId) {
        this.qmCustomerId = qmCustomerId;
    }

}